package org.steven.crm.core.query;

import com.steven.xdb.pagination.query.AbstractQueryDataList;

public class DictValueQueryDataList extends AbstractQueryDataList {

	@Override
	public void init() {
		setTableOrView("dictValue");
		setColumns("*");
		setConditionRelation("and");
		setQueryWithNoCondition(true);
		setPageNumber(20);

//		setQueryConditions(new ArrayList<>());
		addQueryCondition("id", "=", "$id$");
		addQueryCondition("dictId", "=", "$dictId$");
		addQueryCondition("name", "like", "%$name$%");
		addQueryCondition("code", "=", "$code$");
	}
}
